import request from '@/request/api'
// 1、打印模板配置-新增
export function addInfo(data) {
  return request({
    url: '/eam-common-web/printConfig/addPrintTem.htm',
    method: 'get',
    params: data
  })
}
// 2、打印模板配置-删除
export function deleteInfo(data) {
  return request({
    url: '/eam-common-web/printConfig/deletePrintTem.htm',
    method: "delete",
    params: data
  })
}
// 3、打印模板配置-修改
export function updateInfo(data) {
  return request({
    url: '/eam-common-web/printConfig/updataPrintTem.htm',
    method: 'get',
    params: data
  })
}
// 4、打印模板配置-查询列表
export function queryList(data) {
  return request({
    url: '/eam-common-web/printConfig/queryList',
    method: 'get',
    params: data
  })
}
// 5、打印模板配置-设计
export function designInfo(data) {
  return request({
    url: '/eam-common-web/printStandard/getPrintTemplate.htm',
    method: 'get',
    params: data
  })
}